#include "widget.h"

#include <QApplication>

int main(int argc, char *argv[])
{
#ifdef Q_OS_LINUX
    // Ubuntu下在应用启动前禁用全局菜单栏
    qputenv("QT_QPA_PLATFORMTHEME", "");
    qputenv("UBUNTU_MENUPROXY", "0");
    qputenv("QT_STYLE_OVERRIDE", "");
#endif

    QApplication a(argc, argv);
    Widget w;
    w.show();
    return a.exec();
}
